package org.xg.study.pd.test;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.xg.study.pd.NetMall;
import org.xg.study.pd.impl.JDNetMall;

/**
 * @author CMG
 * @version 1.0
 * @description
 * @cLassName ApiTest21_00
 * @date 2021/9/18 10:10
 **/
public class ApiTest21_00 {
    private Logger logger = LoggerFactory.getLogger(ApiTest21_00.class);

    @Test
    public void test_netMall() {
        NetMall netMall = new JDNetMall("1000001", "**************");
        String base64 = netMall.generateGoodsPoster("https://item.jd.com/100008348542.html");
        logger.info("测试结果：{}", base64);
    }
}
